{include file="header.tpl" title="Duyen san pham DD"}
<form action="" method="post" name="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td nowrap="nowrap" width="15%">{$lbl_masanpham}</td>
    <td colspan="3" style="color:#FF0000" nowrap="nowrap">
	<select name="ACTTYPE" disabled="disabled">
		{foreach from=$TYPE item=type}
			<option value="{$type}" {if $type eq $activeTYPE} selected="selected" {/if} >{$type}</option>
		{/foreach}
	</select>
        <input name="PRDCODE" id="PRDCODE" type="text" style="background:{$colormasanpham}" value="{$PRDCODE}" size="20" maxlength="10" {if $activefield eq 'enabled' } readonly="readOnly"{/if} onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onblur="this.value=this.value.toUpperCase().replace(' ','');"/>
        *
        <input name="PRDDESC" type="text" value="{$PRDDESC}" size="50" maxlength="50" readonly="readOnly" />
        <input type="submit" name="find" value="    " id="replacement_find" {if $activefield eq 'enabled' } disabled="disabled"{/if} /></td>
  </tr>
  <tr>
  	<td>{$lbl_loaitaikhoan}</td>
	<td colspan="3">
		<select name="DDSIC2" size="1" disabled="disabled">
			<option value="0"></option>
			{foreach from=$cbo_loaitk key=k item=v}
				<option value="{$k}" {if $k eq $DDSIC2} selected="selected" {/if} >{$k} - {$v}</option>
			{/foreach}
		</select>	</td>	
  </tr>
  <tr>
    <td>{$lbl_loaitiente}</td>
    <td><select name="CURCODE" size="1" style="width:150px;" disabled="disabled">
			{foreach from=$CURCODE item=curr}
			<option value="{$curr}" {if $curr eq $activeCURCODE} selected="selected" {/if} >{$curr}</option>
		{/foreach}
		</select>	</td>
    <td width="15%">{$lbl_cosonamtinhlai}</td>
    <td><select name="YEARBS" size="1" style="width:150px;" disabled="disabled">
      
      {foreach from=$YEARBS key=k item=v}
	  	
      <option value="{$k}" {if $k eq $activeYEARBS} selected="selected" {/if} >{$v}</option>
      
	  {/foreach}
    
    </select></td>
  </tr>
  <tr>
    <td>{$lbl_cachtinhlai}</td>
    <td><select name="ACRTYPE" size="1" style="width:150px;" disabled="disabled">
      
	  
      {foreach from=$ACRTYPE key=k item=v}
	  	
	  
      <option value="{$k}" {if $k eq $activeACRTYPE} selected="selected" {/if} >{$v}</option>
      
	  
	  {/foreach}
    
	  
    </select>    </td>
    <td>{$lbl_ngayhieuluc}</td>
    <td><input type="text" value="{$datevalue}" name="EFFDATE" size="20" readonly="readOnly" /></td>
  </tr>
  <tr>
    <td>{$lbl_kyhanlanhlai}</td>
    <td colspan="3"><input name="INTERM" id="INTERM" type="text" value="{$INTERM}"  size="3" maxlength="3" readonly="readOnly" />
      <select name="INTRMCD" size="1" style="width:100px;" disabled="disabled" >
        
	    
      {foreach from=$INTRMCD key=k item=v}
        
	    
        <option value="{$k}" {if $k eq $activeINTRMCD} selected="selected" {/if} >{$v}</option>
        
	    
	  {/foreach}
      
	    
      </select>      </td>
	</tr>
  <tr>
    <td>{$lbl_laisuat}</td>
    <td nowrap="nowrap">
      <input name="INTRATE" type="text" value="{$INTRATE}" size="20" maxlength="12" readonly="readOnly"  style="text-align:right;" />
    % n&#259;m</td>
    <td>{$lbl_malaisuat}</td>
    <td><input name="INTCODE" id="INTCODE" type="text" readonly="readOnly" value="{$INTCODE}" size="20" maxlength="5" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_laisuattoithieu}</td>
    <td><input name="FLRRATE" type="text" value="{$FLRRATE}" size="20" maxlength="12" readonly="readOnly"  style="text-align:right;" />
      % n&#259;m</td>
    <td>{$lbl_laisuattoida}</td>
    <td nowrap="nowrap"><input name="CEILRATE" type="text" value="{$CEILRATE}" size="20" maxlength="12" readonly="readOnly"  style="text-align:right;" />
    % n&#259;m</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_sotienguitoithieu}</td>
    <td><span style="color:#FF0000">
      <input name="IDEPAMT" type="text"  value="{$IDEPAMT}" size="20" maxlength="10" readonly="readOnly"  style="text-align:right;" />
    </span></td>
    <td>{$lbl_TKGLhachtoanlai}</td>
    <td><span style="color:#FF0000">
      <input name="GLINT" type="text"  value="{$GLINT}" size="20" maxlength="10"  readonly="readOnly"/>
    </span></td>
  </tr>
  <tr>
    <td>{$lbl_TKGLhachtoan}</td>
    <td><span style="color:#FF0000">
      <input name="GLPRN" type="text"  value="{$GLPRN}"  size="20" maxlength="10" readonly="readOnly" />
    </span></td>
    <td nowrap="nowrap">{$lbl_ASS}</td>
    <td><select name="ASS" size="1" disabled="disabled">
        <option value=""/></option>
      {foreach from=$cbo_ASS key=k item=v}       	
      <option value="{$k}" {if $k eq $ASS} selected="selected" {/if} >{$k} - {$v}</option>  	  
	  {/foreach}      
    </select></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_TKGLhachtoanphi}</td>
    <td><span style="color:#FF0000">
      <input name="GLEXP" type="text"  value="{$GLEXP}" size="20"  maxlength="10" readonly="readOnly"/>
    </span></td>
    <td nowrap="nowrap">{$lbl_Ascode}</td>
    <td><span style="color:#FF0000">
      <input name="Ascode" id="Ascode" type="text"  value="{$Ascode}" size="20" style="background:{$colorAscode}" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly" />
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_MINBALOFMTH}</td>
    <td><span style="color:#FF0000">
      <input name="MINBALOFMTH" id="MINBALOFMTH" type="text"  value="{$MINBALOFMTH}" size="20" style="background:{$colorMINBALOFMTH};text-align:right" maxlength="20" onblur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" readonly="readonly" />
    </span></td>
    <td nowrap="nowrap">{$lbl_ADJUSTINT}</td>
    <td><select name="ADJUSTINT" size="1"  id="ADJUSTINT" disabled="disabled">
      
      {foreach from=$cbo_ASS key=k item=v}      
      
      <option value="{$k}" {if $k eq $adjustint} selected="selected" {/if} >{$k} - {$v}</option>
        
	  {/foreach}    
    
    </select>    </td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_CHGHOLIDAY}</td>
    <td><select name="CHGHOLIDAY" size="1"  id="CHGHOLIDAY" disabled="disabled">

      {foreach from=$cbo_ASS key=k item=v}      

      <option value="{$k}" {if $k eq $CHGHOLIDAY} selected="selected" {/if} >{$k} - {$v}</option>

	  {/foreach}    

    </select>    </td>
    <td >{$lbl_CIFTYPE}</td>
    <td ><span style="color:#FF0000">
      <select name="CIFTYPE" id="CIFTYPE" size="1" style="background:{$colorCIFTYPE}" disabled="disabled">
        <option value="" ></option>
        
         {foreach from=$cbo_CIFTYPE key=k item=v}          
           
        <option value="{$k}" {if $k eq $activeCIFTYPE} selected="selected" {/if} >{$k} - {$v}</option>
        
       {/foreach}
      
      </select>
    </span></td>
  </tr>
  <tr>
    <td >{$lbl_DDTYPE}</td>
    <td ><span style="color:#FF0000">
      <select name="DDTYPE" id="DDTYPE" size="1" style="background:{$colorDDTYPE}" disabled="disabled">
        <option value="" ></option>
        
          
        
      {foreach from=$cbo_DDTYPE key=k item=v}          
         
        
          
        <option value="{$k}" {if $k eq $activeDDTYPE} selected="selected" {/if} >{$k} - {$v}</option>
        
          
        
      {/foreach}
       
      
        
      </select>
    </span></td>
    <td>{$lbl_AVGCURBALMIN}</td>
    <td><input name="AVGCURBALMIN" type="text" style="background:{$colorAVGCURBALMIN}; text-align:right;" value="{$AVGCURBALMIN}" size="20" maxlength="12" onblur="formatNumber2(this,this.value,20,0)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" readonly="readonly"/></td>
  </tr>
  <tr>
    <td >{$lbl_ACCOUNTTYPE}</td>
    <td ><span style="color:#FF0000">
      <input name="ACCOUNTTYPE" type="hidden" style="background:{$colorACCOUNTTYPE}" value="{$ACCOUNTTYPE}" size="50" maxlength="50" />
    </span></td>
    <td>{$lbl_VARINTRATEVIP}</td>
    <td ><span style="color:#FF0000">
      <input name="VARINTRATEVIP" type="hidden" style="background:{$colorVARINTRATEVIP}" value="{$VARINTRATEVIP}" size="50" maxlength="50" />
    </span></td>
  </tr>
  <tr>
    <td height="19" >{$lbl_VARINTRATEWIP}</td>
    <td ><span style="color:#FF0000">
      <input name="VARINTRATEWIP" type="hidden" style="background:{$colorVARINTRATEWIP}" value="{$VARINTRATEWIP}" size="50" maxlength="50" />
    </span></td>
    <td>{$lbl_VARINTRATESTAFF}</td>
    <td ><span style="color:#FF0000">
      <input name="VARINTRATESTAFF" type="hidden" style="background:{$colorVARINTRATESTAFF}" value="{$VARINTRATESTAFF}" size="50" maxlength="50" />
    </span></td>
  </tr>
  
  <tr>
    <td nowrap="nowrap">{$lbl_laibacthang}</td>
    <td><select name="SPLTACR" size="1" style="width:150px;" disabled="disabled" >
      
      
      {foreach from=$SPLTACR key=k item=v}
      
      
      <option value="{$k}" {if $k eq $activeSPLTACR} selected="selected" {/if} >{$v}</option>
      
      
	  {/foreach}
    
    
    </select>    </td>
    <td nowrap="nowrap">{$lbl_sobacthang}</td>
    <td><input name="SPLTCNT" id="SPLTCNT" type="text" value="{$SPLTCNT}" size="20" maxlength="1" readonly="readOnly"  style="text-align:right;" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_INTORADDINT}</td>
    <td><select name="INTORADDINT" size="1"  id="INTORADDINT" disabled="disabled">
      
      
       
	
      {foreach from=$cbo_INT key=k item=v}      

      
      
      
      <option value="{$k}" {if $k eq $INTORADDINT} selected="selected" {/if} >{$k} - {$v}</option>
      
      
      
  
	  {/foreach}    
   
    
    
    </select>    </td>
    <td nowrap="nowrap">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="4"><div align="center">
	<table height="46" border="0" cellpadding="0" cellspacing="1" id="tblSample" style="width:50%;">
  <thead>
  <tr>
    <th width="10%">{$lbl_bac}</th>
    <th width="30%">{$lbl_sodu}</th>
     <th width="30%">{$lbl_laisuat}</th>
    <th width="30%">{$lbl_malaisuat}</th>
  </tr>
  </thead>
  <tbody></tbody>
   <tfoot>
  <tr>
  <td colspan="6">&nbsp;</td>
  </tr>
  </tfoot>
</table>
{$tbldata}
	</div></td>
  </tr>
  <tr>
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
  <td align="right" nowrap="nowrap" colspan="4">
  <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'PRDCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input value="{$lbl_tuchoi}" name="tuchoi" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}/>
 <input value="{$lbl_duyet}" name="duyet" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}  />  </td>
</tr>
<tr>
  <td colspan="4"><input value="{$lbl_lichsuthaydoi}" name="lichsuthaydoi" type="button" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onclick="mywindow = window.open('lich_su_sanphamdd.php?PRDCODE={$PRDCODE}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>

<tr>
<td colspan="4"><hr></td>
</tr>
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{include file="footer.tpl"}
